<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ page import="com.lp.cfg.ProConfig" %>
<!DOCTYPE html>
<html>
<head>
	<title>后台管理系统</title>
	<%@ include  file="/WEB-INF/oss/base/common/variable.jsp"%>
    <%@ include  file="/WEB-INF/oss/base/common/resource_lib.jsp"%>
    <%@ include  file="/WEB-INF/oss/base/common/variable_js.jsp"%>
   <link type="text/css" href="<%=basePath%>/css/oss/base/main.css" rel="stylesheet"/>
</head>
<body>
	<div class="header">
		<div class="float-left system-name">
			<span><span class="icon-jsfiddle"></span> 后台信息管理系统</span>
		</div>
		<ul class="list-info">
			<li>
				<img src="<%=basePath%>/image/oss/base/user.png">
				<span class="glyphicon glyphicon-user" style="color:white;"> ${user.name}</span>
			</li>
			<li class="logut-li" onclick="location='<%=basePath%>/service/user/logout'">
				<img class="logout" src="<%=basePath%>/image/oss/base/logout.png">
				<span>退出</span>
			</li>
		</ul>
	</div>
	<div class="page-container">
		<div class="left-container">
			<ul class="ul-list">
				
				<li class="normal active" url="/base/user">
					<i class="icon-group"></i>
					<span class="title ">用户管理</span>
				</li>
				<li class="normal" url="/base/app">
					<i class="icon-group"></i>
					<span class="title ">项目管理</span>
				</li>
				<li class="normal" url="/base/device">
					<i class="icon-group"></i>
					<span class="title ">设备管理</span>
				</li>
				
				<li class="normal" url="/base/sensorico">
					<i class="icon-leaf"></i>
					<span class="title ">图标管理</span>
				</li>
				<li class="normal" url="/base/file">
					<i class="icon-leaf"></i>
					<span class="title ">文件管理</span>
				</li>
				<li class="normal " url="/base/dictionary">
					<i class="icon-home"></i>
					<span class="title">数据字典</span>
				</li>
				<li class="normal" url="/base/lpm">
					<i class="icon-truck"></i>
					<span class="title ">LPM管理</span>
				</li>
<%--				<li class="normal" url="/base/sheji">--%>
<%--					<i class="icon-truck"></i>--%>
<%--					<span class="title ">3d设计</span>--%>
<%--				</li>--%>

			</ul>
		</div>
		<div class="right-container">
			<div>
				<iframe id="myiframe" src="<%=basePath%>/service/base/user" scrolling="yes" width="100%" frameborder="0"></iframe>
			</div>
		</div>
	</div>
</body>
<script type="text/javascript">
	$(function(){
		$(".left-container").css("height", $(window).height() - 60 );
		$("#myiframe").css("height", $(window).height() - 64);
		
		$(".ul-list li.normal").click(function(){
			var flag = $(this).hasClass("active") ;
			$(".ul-list li.normal").removeClass("active");
			$(this).addClass("active");			
			changeIframeUrl($(this).attr("url"));
		})
		
		$(".sub-menu li").click(function(e){
			$(".sub-menu li").removeClass("active");
			$(this).addClass("active");
			e.stopPropagation();
		})
	})
</script>
</html>